.center(@rw:center,@vl:center,@type:row){
  display: flex;
  justify-content: @rw;
  align-items:@vl;
  flex-direction: @type;
}

.am-checkbox.am-checkbox-checked .am-checkbox-inner{
  border-color: #E21B23;
  background: #E21B23;
}

.cart-loginout-show{
  padding: 38px 30px;
  img{
    width: 29px;
    height: 25px;
  }
  >div{
    .center(space-around);
    background-color: #FBF4F5;
    border: 1px solid #E2B2B5;
    height: 45px;
  }
  .btn{
    width: 126px;
    height: 31px;
    background-color: #E91622;
    border-radius: 5px;
    .center();
    color: #fff;
  }
}

.cart-main{
  padding: 30px 30px 81px 30px;
  &-head{
    color: #BB3C40;
    font-size: 22px;
    border-bottom: 1px solid rgba(102, 102, 102, 0.19);
    padding-bottom: 12px;
  }

  .am-stepper-handler{
    border: none;
    width: 45px;
  }

  .am-stepper-input-wrap{
    .center(space-around)!important;
  }

  .am-stepper-input{
    border-left: 1px solid #666666;
    border-right: 1px solid #666666;
    border-radius: 0;
    height: 100%;
  }
  .am-stepper.showNumber{
    width: 160px;
  }
  .am-stepper-input-wrap{
    border: 1px solid #666666;
    border-radius: 5px;
  }

  &-list{
    &-item{
      .center(space-between);
      padding: 39px 0 49px 0;
      border-bottom: 1px solid rgba(102, 102, 102, 0.19);;
        .main{
          .center(space-between);
          &-imgbox{
            width: 202px;
            height: 144px;
            border: 1px solid rgba(102, 102, 102, 0.19);;
            margin-right: 15px;
            .center();
            img{
              width: 127px;
            }
          }
          &-info{
            line-height: 30px;
            width: 400px;
            align-self: flex-start;
            .text{
              height: 120px;
              padding-top: 30px;
              overflow: hidden;
              span{
                color: #E21B23
              }
            }

            .presentlist {
              display: flex;
              justify-content: space-between;

              div{
                &:first-child{
                  width: 300px;
                  margin-left: -10px;
                  overflow: hidden;
                  text-overflow: ellipsis;
                  white-space: nowrap;
                }

                &:last-child {
                  font-size: 22px;
                  color: #ADABAB;
                  padding-right: 13px;
                }
              }
            }

            &-ctrl{
              .center(space-between);
              .price{
                font-size: 24px;
                color: #E21B23;
              }
              .ctrl-main{
                position: relative;
                top: 0.17rem;
                .ctrl-rm{
                  color: #B7B5B5;
                  font-size: 18px;
                  text-align: right;
                  margin-top: 10px;
                }
              }
            }
          }
        }
    }
  }
}

.cart-ctrl{
    border-top: 1px solid #666666;
    position: fixed;
    bottom: 0;
    left: 0;
    height: 131px;
    width: 100%;
    background-color: #fff;
    >div{
      padding: 28px 31px 38px 32px;
      .center(space-between);
    }

    &-checkbox{
      .center(center,center,column);
      >span{
        margin-top: 6px;
      }
    }
    &-btn{
      .center(space-between);
      .disableBtn{
        background-color: grey!important;
      }
      .btn{
        width: 262px;
        height: 65px;
        background-color: #E91622;
        border-radius: 5px;
        .center();
        font-size: 29px;
        color: #fff;
        margin-left: 21px;
        a{
          color: #fff;
        }
      }
      .msg{
        .center(center,center,column);
        color: #666666;
        &-total{
          font-size: 24px;
          span + span{
            color: #E21B23;
          }
        }
        &-sale{
          font-size: 14px;
          margin-top: 8px;
        }
      }
    }
}

.cart-empty{
  position: relative;
  height: 100%;
  >div{
    >img{
      width: 131px;
      margin-right: 33px;
      margin-top: 50px;
    }
    .center(space-between);
    padding: 0 42px;
    margin-top: 40%;
    transform: translate(0,-50%);
  }
  &-ctrl{
    div:first-child{
      color: #707070;
      font-size: 20px;
    }
    div + div{
      margin-top: 33px;
      display: flex;
      align-items: center;
      button{
        // width: 85px;
        height: 38px;
        .center();
        font-size: 23px;
        margin-right: 13px;
        background-color: #E21B23;
        border-radius: 5px;
        border: none;
        color: #fff;
      }
      span a{
        color: #E21B23;
        font-size: 22px;
      }
    }
  }
}